<?php
	$id=$_GET['id'];
	$query="DELETE FROM advertisements WHERE id=$id";
	mysql_query($query);
	echo "Xóa quảng cáo thành công";
	echo "<script>window.location='index.php?admin=advAdmin&do=listadv'</script>";
?>